<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<!--浏览申请类型设置  -->

<div class="easyui-layout" data-options="fit:true,border:0" style="margin-top:5px;">
	<div data-options="region:'west',title:'申请分类设置',collapsible:false,width:'45%'" style="border-left:0">
	    <div id="toolbar-BorrowPurpose" class="paddingTBL">
	        <a class="easyui-linkbutton" onclick="OpenInfoDialog('添加')">添加</a>
	        <span class="paddingbtn"></span><a class="easyui-linkbutton" onclick="DeleteBorrowPurpose()">删除</a>
	        <span class="paddingbtn"></span><a class="easyui-linkbutton" onclick="OpenInfoDialog('修改')">修改</a>
	    </div>
	    <!-- 全部申请分类 -->
	    <table id="BorrowPurposeDatagrid"></table>
    </div>
    
    <div data-options="region:'east',title:'对应申请原因设置',collapsible:false,width:'54%'">
    	<div id="toolbar-ReasonsApplit" class="paddingTBL">
	        <a class="easyui-linkbutton" onclick="OpenApplitDialog('添加')">添加</a>
	        <span class="paddingbtn"></span><a class="easyui-linkbutton" onclick="DeleteReasonsApplit()">删除</a>
	        <span class="paddingbtn"></span><a class="easyui-linkbutton" onclick="OpenApplitDialog('修改')">修改</a>
	    </div>
	    <!-- 对应分类原因 -->
	    <table id="reasonsApplitDatagrid"></table>
    </div> 
</div> 

<!-- 借阅类型 -->
<div id="addBorrowPurpose-dialog" class="easyui-dialog" data-options="closed:true,width:350,height:250">
	<form id="BorrowPurposeInfo" method="post">
		<p class="paddingTL">
		    <label>分类编号&nbsp;</label>
			<input name="FJYMDBH" class="easyui-textbox" data-options="width:160,height:24"/>
			<span class="star-sty">*</span>
		</p>
		<p class="paddingTL">
			<label>分类名称&nbsp;</label>
			<input name="FNAME" id="BorrowName" class="easyui-textbox" data-options="width:160,height:24"/>
		    <span class="star-sty">*</span>
		</p>
		<p class="paddingTL">
			<label class="labelWid4">助记词&nbsp;</label>
			<input name="FZJC" id="BorrowZjc" class="easyui-textbox" data-options="width:160,height:24"/>
		</p>
    </form>
</div> 

<!-- 借阅类型原因 -->
<div id="addReasonsApplit-dialog" class="easyui-dialog" data-options="closed:true,width:350,height:250">
	<form id="ReasonsApplitInfo" method="post">
		<p class="paddingTL">
		    <label>原因编码&nbsp;</label>
			<input name="FJYMDYYBH" class="easyui-textbox" data-options="width:160,height:24"/>
			<span class="star-sty">*</span>
		</p>
		<p class="paddingTL">
			<label>原因名称&nbsp;</label>
			<input name="FJYMDYYMC" class="easyui-textbox" data-options="width:160,height:24"/>
		    <span class="star-sty">*</span>
		</p>
    </form>
</div>  
 
<script type="text/javascript" src="<%=request.getContextPath()%>/js/systemMaintenance/BorrowPurposeManage.js"></script>